package com.tech.connect.model;

import java.io.Serializable;
import java.util.Objects;

public class OptChoose implements Serializable {
    public String value;
    public String description;

    @Override
    public String toString() {
        return "OptChoose{" +
                "value='" + value + '\'' +
                ", description='" + description + '\'' +
                '}';
    }


    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        OptChoose optChoose = (OptChoose) o;
        return Objects.equals(value, optChoose.value) &&
                Objects.equals(description, optChoose.description);
    }

    @Override
    public int hashCode() {

        return Objects.hash(value, description);
    }
}
